#pragma once
#include "ui_client.h"
#include <QMainWindow>
#include <QTcpSocket>
#include <QHostAddress>
#include <QMessageBox>
#include <chat.h>

class client : public QMainWindow {
    Q_OBJECT
    
public:
    client(QWidget* parent = nullptr);
    ~client();

public slots:
    void on_pushButton_2_clicked();
    void on_pushButton_clicked();


private:
    Ui_client* ui;
    QTcpSocket *socket;
    // void on_pushButton_clicked();

};